package org.jeecg.modules.demo.ch.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 物料编码原材料类表
 * @Author: jeecg-boot
 * @Date:   2022-09-16
 * @Version: V1.0
 */
@ApiModel(value="ch_material_code_raw_material对象", description="物料编码原材料类表")
@Data
@TableName("ch_material_code_raw_material")
public class ChMaterialCodeRawMaterial implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**料件编码*/
	@Excel(name = "料件编码", width = 15)
    @ApiModelProperty(value = "料件编码")
    private String itemCode;
	/**料件名称*/
	@Excel(name = "料件名称", width = 15)
    @ApiModelProperty(value = "料件名称")
    private String itemName;
	/**软硬料*/
	@Excel(name = "软硬料", width = 15)
    @ApiModelProperty(value = "软硬料")
    private String softAndHardMaterials;
	/**前两个数公差*/
	@Excel(name = "前两个数公差", width = 15)
    @ApiModelProperty(value = "前两个数公差")
    private String firstTwoNumTolerance;
	/**第三个数公差*/
	@Excel(name = "第三个数公差", width = 15)
    @ApiModelProperty(value = "第三个数公差")
    private String thirdNumTolerance;
	/**精毛料*/
	@Excel(name = "精毛料", width = 15)
    @ApiModelProperty(value = "精毛料")
    private String fineWool;
    /**单位*/
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private String unit;

    /**密度(kg/m^3)*/
    @Excel(name = "密度(kg/m^3)", width = 15)
    @ApiModelProperty(value = "密度(kg/m^3)")
    private String density;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
